import request from '@/utils/request'

// 查询受理信息
export function acceptQuery(pageIndex, pageSize) {
  return request({
    url: '/maintenance/miAcceptWarning/queryList',
    method: 'get',
    params: { pageIndex, pageSize },
    port: { ENV_PORT: 8005 },
    ajaxType2: 'reqGet'
  })
}

// 修改受理信息
export function acceptUpdate(data) {
  return request({
    url: '/maintenance/miAcceptWarning/update',
    method: 'put',
    data: data,
    port: { ENV_PORT: 8005 },
    ajaxType2: 'reqPut'
  })
}
